home *** CD-ROM | disk | FTP | other *** search
-
-
-
- MMMMPPPPIIII____RRRREEEECCCCVVVV((((3333)))) MMMMPPPPIIII____RRRREEEECCCCVVVV((((3333))))
-
-
-
- NNNNAAAAMMMMEEEE
- MMMMPPPPIIII____RRRReeeeccccvvvv - Provides a basic receive operation
-
- SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
- C:
-
- #include <mpi.h>
-
- int MPI_Recv( _b_u_f, _c_o_u_n_t, _d_a_t_a_t_y_p_e, _s_o_u_r_c_e,
- _t_a_g, _c_o_m_m, _s_t_a_t_u_s )
- void *_b_u_f;
- int _c_o_u_n_t, _s_o_u_r_c_e, _t_a_g;
- MPI_Datatype _d_a_t_a_t_y_p_e;
- MPI_Comm _c_o_m_m;
- MPI_Status *_s_t_a_t_u_s;
-
-
- C++:
-
- #include <mpi.h>
-
- void Comm::Recv(
- void* _b_u_f,
- int _c_o_u_n_t,
- const Datatype& _d_a_t_a_t_y_p_e,
- int _s_o_u_r_c_e,
- int _t_a_g) const
-
-
- Fortran:
-
- INCLUDE "mpif.h" (or USE MPI)
-
- <type> BUF(*)
- INTEGER _c_o_u_n_t, _d_a_t_a_t_y_p_e, _s_o_u_r_c_e, _t_a_g, _c_o_m_m,
- _s_t_a_t_u_s(MPI_STATUS_SIZE), _i_e_r_r_o_r
-
- CALL MPI_RECV(_b_u_f, _c_o_u_n_t, _d_a_t_a_t_y_p_e, _s_o_u_r_c_e, _t_a_g, _c_o_m_m,
- _s_t_a_t_u_s(MPI_STATUS_SIZE), _i_e_r_r_o_r)
-
-
- SSSSTTTTAAAANNNNDDDDAAAARRRRDDDDSSSS
- This release implements the MPI 1.2 standard, as documented by the MPI
- Forum in the spring 1997 release of _M_P_I: _A _M_e_s_s_a_g_e _P_a_s_s_i_n_g _I_n_t_e_r_f_a_c_e
- _S_t_a_n_d_a_r_d.
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- The MMMMPPPPIIII____RRRReeeeccccvvvv routine provides a basic receive operation. This routine
- accepts the following parameters:
-
-
-
-
-
-
- PPPPaaaaggggeeee 1111
-
-
-
-
-
-
- MMMMPPPPIIII____RRRREEEECCCCVVVV((((3333)))) MMMMPPPPIIII____RRRREEEECCCCVVVV((((3333))))
-
-
-
- _b_u_f Returns the initial address of the receive buffer (choice)
-
- _s_t_a_t_u_s Returns the status object (status)
-
- _c_o_u_n_t Specifies the maximum number of elements in the receive buffer
- (integer)
-
- _d_a_t_a_t_y_p_e Specifies the data type of each receive buffer element (handle)
-
- _s_o_u_r_c_e Specifies the rank of the source (integer)
-
- _t_a_g Specifies the message tag (integer)
-
- _c_o_m_m Specifies the communicator (handle)
-
- _i_e_r_r_o_r Specifies the return code value for successful completion,
- which is in MPI_SUCCESS. MPI_SUCCESS is defined in the mmmmppppiiiiffff....hhhh
- file.
-
- NNNNOOOOTTTTEEEESSSS
- The _c_o_u_n_t parameter indicates the maximum length of a message; you can
- determine the actual number by using MMMMPPPPIIII____GGGGeeeetttt____ccccoooouuuunnnntttt.
-
- All Fortran MPI routines (except for MMMMPPPPIIII____WWWWttttiiiimmmmeeee(3) and MMMMPPPPIIII____WWWWttttiiiicccckkkk(3)) have
- an additional _i_e_r_r argument at the end of the argument list. _i_e_r_r is an
- integer and has the same meaning as the return value of the routine in C.
- In Fortran, MPI routines are subroutines and are invoked with the CCCCAAAALLLLLLLL
- statement. Additionally, all MPI objects (for example, MMMMPPPPIIII____DDDDaaaattttaaaattttyyyyppppeeee and
- MMMMPPPPIIII____CCCCoooommmmmmmm) are of type integer.
-
- SSSSEEEEEEEE AAAALLLLSSSSOOOO
- MMMMPPPPIIII____IIIIrrrreeeeccccvvvv(3), MMMMPPPPIIII____GGGGeeeetttt____ccccoooouuuunnnntttt(3), MMMMPPPPIIII____WWWWttttiiiimmmmeeee(3), MMMMPPPPIIII____WWWWttttiiiicccckkkk(3)
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PPPPaaaaggggeeee 2222
-
-
-
-